

<?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/app/customers.js',CClientScript::POS_BEGIN);?>




<div id="left-col">
    <?php $this->widget('application.modules.customerportal.components.CustomerMenu',array(
        'model'=>Customers::model()->findByPk(Yii::app()->user->custno),
        'showCreate'=>false,
    ))?>



</div>

<div id="right-col">

    <div class="wrap">
        <div class="container">
            <div class="inside">
                <?php if($success):?>
                <div class="notice-green" style="width: 400px;text-align: center">
                    Your password updated
                </div>
                <?php endif;?>
                <div class="form">

                    <?php
                    $form = $this->beginWidget('CActiveForm', array(
                        'id' => 'users-form',
                        'enableAjaxValidation' => false,
                    ));
                    ?>



                    <?php echo $form->errorSummary($model); ?>


                    <div class="row">
                        <?php echo $form->labelEx($model, 'password'); ?>
                        <?php echo $form->passwordField($model, 'password',array('size'=>45)); ?>
                        <?php echo $form->error($model, 'password'); ?>
                    </div>



                    <div class="row_buttons">
                        <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
                    </div>

                    <?php $this->endWidget(); ?>

                </div><!-- form -->





            </div><!-- inside -->
        </div><!-- container -->
    </div><!-- wrap -->
    <?php $this->renderPartial('application.views.copyright'); ?>
</div> <!-- left-col -->

